package com.example.himalaya.constants;

public class Constants {


    //****************************** VIP ***************************//

    // 用户能订阅的最多的数量
    public static final int MAX_SUB_COUNT = 200;
    public static final int MAX_HISTORY_COUNT = 200;
    public static final int MAX_LOVE_SONG_COUNT = 500;
    //****************************** VIP ***************************//

    // 喜马拉雅默认的初始页数
    public static final int DEFAULT_PAGE = 1;


    // 搜索关键字返回的数据条目
    public static final Integer SEARCH_NUMBER = 5;


    // 获取推荐列表的专辑的初始数量
    public static int COUNT_RECOMMEND = 10;

    // 点击具体专辑后默认请求的内容数量
    public static int COUNT_DEFAULT = 5;

    // 点击具体专辑后默认请求的内容数量
    public static int LOAD_MORE_TRACK = 5;


    // 歌曲列表弹出的时间
    public static int BG_ANIMATION_DURATION = 300;

    // 热词的数量
    public static int COUNT_HOT_WORLD = 10;


    // 数据库的版本号
    public static final int DB_VERSION_CODE = 1;

    //SQL
    public static final String DB_NAME = "ximalaya.db";


    // SQL
    // 订阅表名
    public static final String SUB_TB_NAME = "tb_subscription";
    public static final String SUB_ID = "_id";
    public static final String SUB_COVER_URL = "coverUrl";
    public static final String SUB_TITLE = "title";
    public static final String SUB_DESCRIPTION = "description";
    public static final String SUB_TRACK_COUNT = "tracksCount";
    public static final String SUB_PLAY_COUNT = "playCount";
    public static final String SUB_AUTHOR_NAME = "authorName";
    public static final String SUB_ALBUM_ID = "albumId";


    // 历史表
    public static final String HISTORY_TB_NAME = "tb_history";
    public static final String HISTORY_COVER_URL = "coverUrl";
    public static final String HISTORY_ID = "_id";
    public static final String HISTORY_TRACK_ID = "trackId";
    public static final String HISTORY_TITLE = "title";
    public static final String HISTORY_PLAY_COUNT = "playCount";
    public static final String HISTORY_DURATION = "history_duration";
    public static final String HISTORY_UPDATE_TIME = "history_update_time";
    public static final String TRACK_AUTHOR_NAME = "authorName";


    // 收藏音乐的表
    public static final String LOVE_SONG_TB_NAME = "tb_love_song";
    public static final String LOVE_SONG_COVER_URL = "coverUrl";
    public static final String LOVE_SONG_ID = "_id";
    public static final String LOVE_SONG_TRACK_ID = "trackId";
    public static final String LOVE_SONG_TITLE = "title";
    public static final String LOVE_SONG_PLAY_COUNT = "playCount";
    public static final String LOVE_SONG_DURATION = "history_duration";
    public static final String LOVE_SONG_UPDATE_TIME = "history_update_time";
}
